package cn.wolfcode.luowowo.comment.service;

import cn.wolfcode.luowowo.comment.domain.TravelComment;
import cn.wolfcode.luowowo.comment.query.TravelCommentQuery;
import org.springframework.data.domain.Page;

//游记评论服务
public interface ITravelCommentService {
    TravelComment save(TravelComment travelComment);

    /**
     * MG的分页
     * @param qo
     * @return
     */
    Page query(TravelCommentQuery qo);

    /**
     * 查询楼层数   评论数
     * @param travelId
     * @return
     */
    Long getCount(Long travelId);
}

